<html>
<head><meta charset="utf-8"><title>Emitting UI test output per bit-width · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Emitting.20UI.20test.20output.20per.20bit-width.html">Emitting UI test output per bit-width</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="224705615"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Emitting%20UI%20test%20output%20per%20bit-width/near/224705615" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Emitting.20UI.20test.20output.20per.20bit-width.html#224705615">(Feb 01 2021 at 10:05)</a>:</h4>
<p>Hello. Can someone give me a rough idea of what parts of the code to touch so I can work on <a href="https://github.com/rust-lang/compiler-team/issues/365">rust-lang/compiler-team#365</a>?</p>



<a name="224707820"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Emitting%20UI%20test%20output%20per%20bit-width/near/224707820" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Notification Bot <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Emitting.20UI.20test.20output.20per.20bit-width.html#224707820">(Feb 01 2021 at 10:28)</a>:</h4>
<p>This topic was moved here from <a class="stream-topic" data-stream-id="260443" href="/#narrow/stream/260443-project-const-generics/topic/Emitting.20UI.20per.20bit-width">#project-const-generics &gt; Emitting UI per bit-width</a> by <span class="user-mention silent" data-user-id="124288">oli</span></p>



<a name="224707922"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Emitting%20UI%20test%20output%20per%20bit-width/near/224707922" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Emitting.20UI.20test.20output.20per.20bit-width.html#224707922">(Feb 01 2021 at 10:29)</a>:</h4>
<p>the very broad answer to this is "only things in <a href="https://github.com/rust-lang/rust/tree/master/src/tools/compiletest/src">https://github.com/rust-lang/rust/tree/master/src/tools/compiletest/src</a>"</p>



<a name="224708200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Emitting%20UI%20test%20output%20per%20bit-width/near/224708200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Emitting.20UI.20test.20output.20per.20bit-width.html#224708200">(Feb 01 2021 at 10:33)</a>:</h4>
<p>Thanks, I'll try to poke around. :)</p>



<a name="224708201"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Emitting%20UI%20test%20output%20per%20bit-width/near/224708201" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Emitting.20UI.20test.20output.20per.20bit-width.html#224708201">(Feb 01 2021 at 10:33)</a>:</h4>
<p>the first step is to add the parsing of the comment in <a href="https://github.com/rust-lang/rust/blob/master/src/tools/compiletest/src/header.rs">https://github.com/rust-lang/rust/blob/master/src/tools/compiletest/src/header.rs</a> by adding a new boolean field to <a href="https://github.com/rust-lang/rust/blob/fee0d31397c5ac46d08867e903131d1d73825a9e/src/tools/compiletest/src/header.rs#L257">https://github.com/rust-lang/rust/blob/fee0d31397c5ac46d08867e903131d1d73825a9e/src/tools/compiletest/src/header.rs#L257</a> and filling it in similar to <a href="https://github.com/rust-lang/rust/blob/master/src/tools/compiletest/src/header.rs#L434-436">https://github.com/rust-lang/rust/blob/master/src/tools/compiletest/src/header.rs#L434-436</a></p>



<a name="224708290"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Emitting%20UI%20test%20output%20per%20bit-width/near/224708290" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Emitting.20UI.20test.20output.20per.20bit-width.html#224708290">(Feb 01 2021 at 10:34)</a>:</h4>
<p>the next step would be to find out where <code>.stdout</code> and <code>.stderr</code> files are emitted, and, if the new boolean is true, prepend the 64/32bit thing before the file extension</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>